﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Windows;

namespace Sonce.Database
{
    [DataContract()]
    public class ElementPrototype : ITable
    {
        [DataMember()]
        public int ID { get; set; }             //Primary key
        public string Name { get; set; }        //User-friendly name of prototype ("Resistor", "Capacitor")
        public string Image { get; set; }       //Image, model, xaml
        public List<Point> Nodes { get; set; }  //Relative locations of nodes
    }
}
